package com.example.demo.admin.gecco.crawler.mzt;

import com.geccocrawler.gecco.annotation.Gecco;
import com.geccocrawler.gecco.annotation.HtmlField;
import com.geccocrawler.gecco.annotation.Image;
import com.geccocrawler.gecco.annotation.RequestParameter;
import com.geccocrawler.gecco.spider.HtmlBean;

import java.util.List;


@Gecco(matchUrl = "https://www.797ii.com/htm/pic{type}/{index}.htm", pipelines = {"bigPicPipeline" },downloader = "myClientDownloader")
public class BigPic implements HtmlBean{


    @RequestParameter
    private int type;

    @RequestParameter
    private String index ;


    @Image
    @HtmlField(cssPath=".picContent img")
    private List<String> pics;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public List<String> getPics() {
        return pics;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }
}